const MyPromise = require('./MyPromise');

// const p = new MyPromise((resolve, reject) => {
//     resolve('1')
// })

// p.then(value => {
//     console.log('value -->', value);
// })

const a = new MyPromise((resolve) => {
    resolve(1);
});

a.then(console.log)

a.then(console.log)

a.then(console.log)
